package com.aiti.lulian.entity.crad;

import com.aiti.base.core.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("card_enterprise_floor_attach")
public class CardEnterpriseFloorAttach extends BaseEntity {

    /**
     * 主键
     */
    @TableId(value = "base_id", type = IdType.ASSIGN_UUID)
    private String baseId;

    /**
     * 附件名称
     */
    @TableField("attach_name")
    private String attachName;

    /**
     * 附件URL
     */
    @TableField("attach_url")
    private String attachUrl;

    /**
     * 下载URL
     */
    @TableField("download_url")
    private String downloadUrl;

    /**
     * 附件序号
     */
    @TableField("attach_sort")
    private Integer attachSort;

    /**
     * 楼层ID
     */
    @TableField("floor_id")
    private String floorId;

    /**
     * 创建者
     */
    @TableField("creator")
    private String creator;

    /**
     * 创建时间
     */
    @TableField(value = "base_create_time", fill = FieldFill.INSERT)
    private Date baseCreateTime;

    /**
     * 更新者
     */
    @TableField("update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "base_update_time", fill = FieldFill.UPDATE)
    private Date baseUpdateTime;
}